package com.pf.core.pojo;

import java.util.ArrayList;
import java.util.List;


public class Config {
	private static Config config=new Config();
	private MVC mvc;
	private String encode=System.getProperty("file.encoding");
	private String basePath;
	private String viewPath="/WEB-INF/view";
	private List<String> initList=new ArrayList<String>();


	private Config(){

	}

	public static Config getInstance(){
		return config;
	}

	public MVC getMvc() {
		return mvc;
	}

	public void setMvc(MVC mvc) {
		this.mvc = mvc;
	}

	public List<String> getInitList() {
		return initList;
	}

	public void setInitList(List<String> initList) {
		this.initList = initList;
	}

	public static Config getConfig() {
		return config;
	}

	public static void setConfig(Config config) {
		Config.config = config;
	}

	public String getEncode() {
		return encode;
	}

	public void setEncode(String encode) {
		this.encode = encode;
	}

	public String getBasePath() {
		return basePath;
	}

	public void setBasePath(String basePath) {
		this.basePath = basePath;
	}

	public String getViewPath() {
		return viewPath;
	}

	public void setViewPath(String viewPath) {
		this.viewPath = viewPath;
	}





}
